import { THRESHOLD_TYPE_OPTIONS } from './configs';

export const FORM_ITEMS = [
  {
    prop: 'categoryUuids',
    label: '品类',
    type: 'slot',
    slotName: 'category',
    defaultVal: []
  },
  {
    prop: 'thresholdType',
    label: '阈值类型',
    type: 'select',
    options: THRESHOLD_TYPE_OPTIONS
  },
]

export const TABLE_COLUMNS = [
  {
    title: '品类编码',
    key: 'categoryNo',
  },
  {
    title: '品类名称',
    key: 'categoryName',
  },
  {
    title: '品类级别',
    key: 'categoryLevel',
  },
  {
    title: '阈值类型',
    key: 'thresholdTypeStr',
  },
  {
    title: '订货金额',
    key: 'orderAmount',
  },
  {
    title: '订货频次',
    key: 'orderFrequency',
  },
]
